package com.sptpc.demo.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Student {
    public Long id;//学生编号
//    @DateTimeFormat(pattern ="yyyy/MM/dd")
    public String name;//学生姓名
    public LocalDate adminssionDate;//学生入学时间
    public String major;//学生专业
}
